package com.youtui.manager.service;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

import com.github.pagehelper.PageInfo;
import com.youtui.manager.entity.PredictIncomeEntity;
import com.youtui.manager.model.PredictIncome;

public interface IPredictIncomeService {

	public PageInfo<PredictIncomeEntity> findPredictIncomeEntityPageList(String appName, Date dealdate, int page,
			int rows);

	public PageInfo<PredictIncomeEntity> findPredictIncomeEntityPageList(Long devId, int page, int rows);

	/**
	 * 获取连续7天预计收入走势图
	 * @param devId
	 * @param startDate
	 * @param endDate
	 * @return
	 */
	public List<PredictIncomeEntity> findPredictIncomeEntityList_7(Long devId , Date startDate , Date endDate);
	
	public List<PredictIncomeEntity> findPredictIncomeEntityList(Long devId, String appName, Date dealdate);

	public List<PredictIncomeEntity> findPredictIncomeEntityList(String appName, Date dealdate);

	public int insertPredictIncome(String[] s, Long excId);

	public int selectPredictIncomeCount(String appKey, Date curdate);

	public PredictIncome findYesterPredictIncome(Long devId);

	public BigDecimal findMonthPredictIncome(Long devId);
}
